package anthology.leet_code_hot;

import java.util.Arrays;

//https://leetcode.cn/problems/kth-largest-element-in-an-array/description/
public class _215数组中的第k大的数字 {


    //函数
    class Solution {
        public int findKthLargest(int[] nums, int k) {
            Arrays.sort(nums);
            return nums[nums.length-k];
        }
    }
}
